package com.shph.validation.adapter;

import com.shph.validation.exception.ValidException;
import com.shph.validation.rule.IRule;

/**
 * IRule解析器，解析指定类型的规则
 *
 * @param <T>
 */
public interface RuleParse<T> {
    IRule parse(T ruleType) throws ValidException;
}
